<template>
  <div class="page has-navbar" v-nav="{hideNavbar: true}">
    <von-header theme="assertive" >
      <button class="button button-icon ion-ios-arrow-back" slot="left" @click="$router.back('/home')"></button>
      <span slot="title">微店预览</span>
    </von-header>
    <div class="page-content" style="padding-top:22px">
      <!-- <iframe :src="baseUrl+'/mshop/src/home.html?marketId='+(session.marketId || '')+'&shopId='+(session.shopId || '')+'&imgUrl='+imgUrl"></iframe> -->
    </div>
    
  </div>
    
</template>
<script>
  export default {
    data() {
      return {
        imgUrl:imgUrl,
        baseUrl:baseUrl,
        session:sess.get('userSession'),
      }
    },
    created(){
      this.$router.go(-1);
      window.location.href = baseUrl+'/mshop/src/home.html?marketId='+(this.session.marketId || '')+'&shopId='+(this.session.shopId || '')+'&imgUrl='+imgUrl

    },

    methods: {

    },
  }
</script>
<style type="text/css">
  iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 44px;
  }
</style>